<template>
	<view class="zhuCell">
		<view class="item">
			<view class="left">
				<image :src="imgUrl" mode="widthFix"></image>
				<text>{{title}}</text>
			</view>
			<view class="right">
				<text>{{contentText}}</text>
				<u-icon name="arrow-right" color="#999" size="24" v-if="is_right"></u-icon>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data() {
			return {
				
			}
		},
		name:'zhuCell',
		props:{
			is_right:{
				type:Boolean,
				default:true
			},
			title:{
				type:String,
				default:''
			},
			imgUrl:{
				type:String,
				required: true
			},
			contentText:{
				type:String,
				default:''
			}
		}
	}
</script>

<style lang="scss" scoped>
	.zhuCell{
		background-color: #fff;
		width: 100vw;
		padding: 0 30rpx;
		.item{
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 30rpx 0;
			border-bottom: 1rpx solid #efefef;
			.left{
				display: flex;
				align-items: center;
				image{
					width: 30rpx;
					height: 30rpx;
					margin-right: 29rpx;
				}
				text{
					font-size: 28rpx;
					font-weight: 500;
					color: #333333;
				}
			}
			.right{
				display: flex;
				align-items: center;
				justify-content: center;
				text{
					font-size: 30rpx;
					font-weight: 500;
					color: #666666;
					margin-right: 30rpx;
				}
			}
		}
	}
</style>
